
#include <stdint.h>

#ifndef PWM_MOTOR_H
#define PWM_MOTOR_H

typedef enum{
	kMotorOne,
	kMotorTwo,

	kMotorMax     
}MotorNumber;


void motor_direction(MotorNumber motor_num, uint16_t dir);
void pwm_init(void);
void pwm_set_duty(MotorNumber motor_num, uint16_t duty);
void pwm_out_enable(MotorNumber motor_num);
void pwm_out_disable(MotorNumber motor_num);
void pwm_motor_event_handler_init(void);



#endif

